﻿using project.B12.Model.Res;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace project.B12.Model.Enums
{
    public enum ExpirationTimeEnum
    {
        [Display(ResourceType = typeof(Resources), Name = "ExpirationTimeEnum_NotOverdue")]
        [Description("不过期")]
        不过期 = -1,

        [Display(ResourceType = typeof(Resources), Name = "ExpirationTimeEnum_OneDay")]
        [Description("一天")]
        一天 = 1,

        [Display(ResourceType = typeof(Resources), Name = "ExpirationTimeEnum_OneWeek")]
        [Description("一周")]
        一周 = 7,

        [Display(ResourceType = typeof(Resources), Name = "ExpirationTimeEnum_OneMonth")]
        [Description("一个月")]
        一个月 = 31,

        [Display(ResourceType = typeof(Resources), Name = "ExpirationTimeEnum_ThreeMonths")]
        [Description("三个月")]
        三个月 = 91,

        [Display(ResourceType = typeof(Resources), Name = "ExpirationTimeEnum_HalfAYear")]
        [Description("半年")]
        半年 = 183,

        [Display(ResourceType = typeof(Resources), Name = "ExpirationTimeEnum_OneYear")]
        [Description("一年")]
        一年 = 365,

        [Display(ResourceType = typeof(Resources), Name = "ExpirationTimeEnum_TwoYears")]
        [Description("两年")]
        两年 = 730,

        [Display(ResourceType = typeof(Resources), Name = "ExpirationTimeEnum_ThreeYears")]
        [Description("三年")]
        三年 = 1095,

        [Display(ResourceType = typeof(Resources), Name = "ExpirationTimeEnum_FiveYears")]
        [Description("五年")]
        五年 = 1825,

        [Display(ResourceType = typeof(Resources), Name = "ExpirationTimeEnum_TenYears")]
        [Description("十年")]
        十年 = 3650,
    }
}